package com.sss.hloster03;
//
public class Truck extends Vehicles {
	float load;// 载重

	public Truck(String brand, String color, float load) {
		super(brand, color);
		this.load = load;
	}
	public void showTruck() {
		System.out.println("这辆卡车：商标为："+super.brand+" ,  颜色为："+super.color+",  载重为："+this.load+"吨。");

	}
}
